package com.shop.storage.mapper;

import java.util.List;
import com.shop.storage.domain.WmsPurchaseDetail;
import com.shop.storage.vo.response.PurchaseDetailResponse;
import com.shop.storage.vo.request.PurchaseRequest;

/**
 * 采购详情Mapper接口
 * 
 * @author shop
 * @date 2024-06-24
 */
public interface WmsPurchaseDetailMapper 
{
    /**
     * 查询采购详情
     * 
     * @param id 采购详情主键
     * @return 采购详情
     */
    public WmsPurchaseDetail selectWmsPurchaseDetailById(Long id);

    /**
     * 查询采购详情列表
     * 
     * @param wmsPurchaseDetail 采购详情
     * @return 采购详情集合
     */
    public List<WmsPurchaseDetail> selectWmsPurchaseDetailList(WmsPurchaseDetail wmsPurchaseDetail);

    /**
     * 新增采购详情
     * 
     * @param wmsPurchaseDetail 采购详情
     * @return 结果
     */
    public int insertWmsPurchaseDetail(WmsPurchaseDetail wmsPurchaseDetail);

    /**
     * 修改采购详情
     * 
     * @param wmsPurchaseDetail 采购详情
     * @return 结果
     */
    public int updateWmsPurchaseDetail(WmsPurchaseDetail wmsPurchaseDetail);

    /**
     * 删除采购详情
     * 
     * @param id 采购详情主键
     * @return 结果
     */
    public int deleteWmsPurchaseDetailById(Long id);

    /**
     * 批量删除采购详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsPurchaseDetailByIds(Long[] ids);

    /**
     * 组合查询
     * @param
     * @return
     */
    public List<PurchaseDetailResponse> purchaseDetailList();

}
